<?php
/*
 * template name: Group Tour Travel
 * 
 * @author:Tham
 * Group of Travel
 * 
 */
get_header();


if(isset($_REQUEST['sreach'])){
  
    print_r($_REQUEST);
    
    
}
?>
<div class="content">
    <div class="container">
        <div class="box-main">
            <div class="row">
                <div class="col-md-9">
                    <div class="tab">
                        <a href="<?php echo get_site_url(); ?>">Home / </a> <?php echo $post->post_title ?> </div>
                    <h2><?php echo $post->post_title ?> </h2>
                    <div class="text-content">
                        <hr/>
                        <table class="group-travel">
                            <tr>
                                <td>
                                    <?php echo do_shortcode('[contact-form-7 id="65" title="Travel Group"]'); ?> 
                                </td>
                            </tr>
                            
                        </table>
                        
                        <?php /*
                        <table class="group-travel">
                            <tr>
                                <td>
                                    Group name : 
                                </td>
                                <td> &nbsp;<input class="text_input" type="text" name="group-name"  id="group-name" 
                                                  value="<?php
                                                  if (isset($_REQUEST['group-name'])) {
                                                      echo $_REQUEST['group-name'];
                                                  }
                                                  ?>" />

                                </td>
                                <td>
                                    Members:
                                </td>
                                <td> &nbsp;<input class="text_input" type="text" name="member-group"  id="member-group" 
                                                  value="<?php
                                                  if (isset($_REQUEST['member-group'])) {
                                                      echo $_REQUEST['member-group'];
                                                  }
                                                  ?>" />

                                </td>
                            </tr>
                            <tr>
                                <td> &nbsp; </td>
                            </tr>
                            <tr>
                                <td>
                                    Leaving from : 
                                </td>
                                <td> &nbsp;<input class="text_input"   placeholder="Enter City/airport" 
                                                  value="<?php
                                                  if (isset($_REQUEST['start-location'])) {
                                                      echo $_REQUEST['start-location'];
                                                  }
                                                  ?>"
                                                  type="text" id="start-location" name="start-location"  />

                                </td>
                                <td>
                                    Going to:
                                </td>
                                <td> &nbsp;<input  class="text_input"  type="text" placeholder="Enter City/airport"  
                                                   value="<?php
                                                   if (isset($_REQUEST['end_location'])) {

                                                       echo $_REQUEST['end_location'];
                                                   }
                                                   ?>" id="end_location" name="end_location" />

                                </td>

                            </tr>
                            <tr>
                                <td>Adult(12+)</td>
                                <td> <select  id="Adult" name="Adult" class="select-find-flights" >
                                        <?php
                                        for ($i = 1; $i <= 9; $i++) {
                                            echo '<option value="' . $i . '" >' . $i . '</option>';
                                        }
                                        ?>
                                    </select></td>
                                <td>
                                    Children(2-12)
                                </td>
                                <td>
                                    <select  id="numCHD" name="numCHD" class="select-find-flights" >
                                        <?php
                                        for ($i = 0; $i < 9; $i++) {
                                            echo '<option value="' . $i . '" >' . $i . '</option>';
                                        }
                                        ?>
                                    </select>  
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Infant(0-2)
                                </td>
                                <td>
                                    <select id="infant"  class="select-find-flights">

                                        <option>0</option>
                                        <option>1</option>
                                    </select>
                                </td>
                                <td>
                                    Class
                                </td>
                                <td>
                                    <select name="class" id="class" class="select-find-flights"   class="div_class">
                                        <option value="<?php echo DealFlight::ECONOMY; ?>">Economy</option>
                                        <option value="<?php echo DealFlight::BUSINESS; ?>">Business</option>
                                        <option value="<?PHP echo DealFlight::FIRST_CLASS ?>">First Class</option>
                                        <option value="<?php echo DealFlight::PREMIUM_ECONOMY ?>">Premium Economy</option>
                                    </select>


                                </td>
                            </tr>
                            <tr><td colspan="4" style="text-align:right;">
                                    <button type="submit" class="button bt_grouptravel" name="sreach" id="search_tour_travel">SUBMIT</button>
                                </td></tr>
                            <tr>
                                <td> &nbsp; </td>
                            </tr>



                        </table>
                         * 
                         * */
                        ?>
                    </div>

                </div>
                <?php
                include_once 'right_single.php';
                ?>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/inc/hashslider-v2.0.js"></script>

<script type="text/javascript">

    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-36251023-1']);
    _gaq.push(['_setDomainName', 'jqueryscript.net']);
    _gaq.push(['_trackPageview']);

    (function() {
        var ga = document.createElement('script');
        ga.type = 'text/javascript';
        ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0];
        s.parentNode.insertBefore(ga, s);
    })();

</script>

<?php get_footer();
?>

<link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri(); ?>/css/jquery.datetimepicker.css" />
<script src="<?php echo get_template_directory_uri(); ?>/js/jquery.datetimepicker.js"></script>
